#ifndef _SPOTIFY_LASTFM_PLUGIN_H_
#define _SPOTIFY_LASTFM_PLUGIN_H_

#include "SpotifyPlugin.h"
#include "ScrobSubmitter.h"

#define LASTFM_PLUGIN_ID "sba"

class SpotifyLastFmPlugin : public SpotifyPlugin
{
public:
  void OnLoad();
  void OnUnload();
  void OnTrackChanged(SpotifyTrack * newTrack);

private:
  static void StatusCallback(int requestId, bool error, std::string message, void * userData);

  bool m_isSongPlaying;
  ScrobSubmitter m_scrobSubmitter; 
};


#endif // _SPOTIFY_LASTFM_PLUGIN_H_